package com.yubest.server2.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class HelloController {

    @GetMapping(value = "/hello")
    public Object hello() {
        log.info("spring-cloud-server2 -> this is log");
        return "Hello Spring Cloud Server2";
    }
}
